﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;
namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_spm_TW_PurchasingGroup : DataObject
    {

        [Column]
        public string PurchasID { get { return _PurchasID; } set { _PurchasID = value; EntityState.FieldChange("PurchasID"); } } private string _PurchasID; public static FieldInfo purchasID = new FieldInfo("mdc_spm_TW_PurchasingGroup", "PurchasID");
        [Column]
        public string PurchasValue { get { return _PurchasValue; } set { _PurchasValue = value; EntityState.FieldChange("PurchasValue"); } } private string _PurchasValue; public static FieldInfo purchasValue = new FieldInfo("mdc_spm_TW_PurchasingGroup", "PurchasValue");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdc_spm_TW_PurchasingGroup", "Status");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdc_spm_TW_PurchasingGroup", "Time");

    }
}
